package info.opensoaring.client.rpc;

import info.opensoaring.api.Flight;
import info.opensoaring.api.igc.FlightLog;

import java.util.Collection;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface FlightServiceAsync {

    void getFlights(AsyncCallback<Collection<Flight>> callback);

    void addFlight(Flight flight, AsyncCallback<Void> callback);

    void analyseFlight(String url, AsyncCallback<FlightLog> flightRecord);

}
